import request from "@/utils/request";

//分页商品查询
export const shopHomePage = data => {
  return request({
    url: "/mall/shopHome/page",
    method: "post",
    data
  });
};

//获取商品富文本
export const shopHomeDetail = data => {
  return request({
    url: "/mall/shopHome/detail",
    method: "post",
    data
  });
};
